package com.css.fxfzypg.modules.suggestinfo.analysis.suggestionanalysis.service;

import com.css.fxfzypg.modules.suggestinfo.analysis.annualrisk.repository.entity.AnnualRiskEntity;
import com.css.fxfzypg.modules.suggestinfo.analysis.disasterscenario.repository.entity.DisasterScenarioEntity;
import com.css.fxfzypg.modules.suggestinfo.analysis.emergencydisaster.repository.entity.EmergencyDisasterEntity;
import com.css.fxfzypg.modules.suggestinfo.analysis.emergencydisposal.repository.entity.EmergencyDisposalEntity;
import com.css.fxfzypg.modules.suggestinfo.analysis.suggestionanalysis.vo.ParamsVo;
import com.css.fxfzypg.modules.suggestinfo.analysis.suggestionanalysis.vo.SuggestionAnalysisParams;

import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;

public interface SuggestionAnalysisService {

    Map<String, Object> queryTaskList(SuggestionAnalysisParams queryParams, int curPage, int pageSize);

    Map<String, Object> getDivisionByTaskDistrict(String taskNum, String taskDistrict, String suggestionName, String flag) throws UnsupportedEncodingException;

    Boolean saveDisasterScenario(List<DisasterScenarioEntity> list) throws UnsupportedEncodingException;

    Boolean saveAnnualRisk(List<AnnualRiskEntity> list) throws UnsupportedEncodingException;

    Boolean saveEmergencyDisaster(List<EmergencyDisasterEntity> list) throws UnsupportedEncodingException;

    Boolean saveEmergencyDisposal(List<EmergencyDisposalEntity> list) throws UnsupportedEncodingException;

    DisasterScenarioEntity getDisasterScenarioData(ParamsVo params);

    AnnualRiskEntity getAnnualRiskData(ParamsVo params);

    EmergencyDisasterEntity getEmergencyDisasterData(ParamsVo params);

    EmergencyDisposalEntity getEmergencyDisposalData(ParamsVo params);

    Map<String, Object> getDataByTaskNum(String taskNum);

    Map<String, Object> getDataByTaskNum2(String taskNum);
}
